package com.springaop.demo;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class MainTestXml {
    public static void main(String[] args) {

        ApplicationContext ioc = new ClassPathXmlApplicationContext("srping-xml-aop.xml");
        Landlord landlord = ioc.getBean(Landlord.class);
        System.out.println("================ AOP xml ===============");
        landlord.service();
    }
}
